home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Plus 2004 #11
/
Amiga Plus CD - 2004 - No. 11.iso
/
AmiSoft
/
Dev
/
misc
/
temgen.lha
/
Temgen
/
tg-0.11
/
sysdefs.h
< prev
next >
Wrap
C/C++ Source or Header
|
2002-12-18
|
485b
|
31 lines
#ifndef __sysdefs_h_
#define __sysdefs_h_
#include "config.h"
#include <errno.h>
#if STDC_HEADERS
# include <stdarg.h>
# include <stdlib.h>
# include <string.h>
#else
# error System has no ANSI header files
#endif
#include <stdio.h>
#include <sys/types.h>
#if HAVE_SYS_WAIT_H
# include <sys/wait.h>
#else
# ifndef WEXITSTATUS
# define WEXITSTATUS(v) ((unsigned)(v) >> 8)
# endif
# ifndef WIFEXITED
# define WIFEXITED(v) (((v) & 255) == 0)
# endif
#endif
#endif